package com.bookcode.entity;

import lombok.Data;

import javax.persistence.*;

/* 课程的学生中间表 */

@Table(name = "t_course_student")
@Entity
@Data
public class CourseStudent extends BaseEntity{

    @Column
    private Long courseId;
/*
    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }
*/
    @Column
    private Long  studentId;


}
